﻿using System;
namespace Catering_Model
{
	/// <summary>
	/// NewStaffBooks:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class NewStaffBooks
	{
		public NewStaffBooks()
		{}
		#region Model
		private int _bookid;
		private int _mainbookid;
        private string _bookno;
		private int _booktypeid;
		private string _bookname;
		private bool _isshare;
		private string _bookauthorname;
		private int? _bookauthorid=-1;
		private int _learntime;
		private string _remarks;
		private string _upusername;
		private int _upuserid;
		private int _booksize;
		private DateTime _updatetime;
		private DateTime _createdate;
		private string _bookdesc;
		private string _booksuff;
		private string _filetype;
		private string _status;
		private string _bookaddr;
		private int _pagescount;
		private bool _issplitpages;
		/// <summary>
		/// 
		/// </summary>
		public int BookID
		{
			set{ _bookid=value;}
			get{return _bookid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int MainBookID
		{
			set{ _mainbookid=value;}
			get{return _mainbookid;}
		}
		/// <summary>
		/// 
		/// </summary>
        public string BookNo
		{
			set{ _bookno=value;}
			get{return _bookno;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int BookTypeID
		{
			set{ _booktypeid=value;}
			get{return _booktypeid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string BookName
		{
			set{ _bookname=value;}
			get{return _bookname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool IsShare
		{
			set{ _isshare=value;}
			get{return _isshare;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string BookAuthorName
		{
			set{ _bookauthorname=value;}
			get{return _bookauthorname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? BookAuthorID
		{
			set{ _bookauthorid=value;}
			get{return _bookauthorid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int LearnTime
		{
			set{ _learntime=value;}
			get{return _learntime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Remarks
		{
			set{ _remarks=value;}
			get{return _remarks;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string UpUserName
		{
			set{ _upusername=value;}
			get{return _upusername;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int UpUserID
		{
			set{ _upuserid=value;}
			get{return _upuserid;}
		}
		/// <summary>
		/// 以字节为单位
		/// </summary>
		public int BookSize
		{
			set{ _booksize=value;}
			get{return _booksize;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime UpDateTime
		{
			set{ _updatetime=value;}
			get{return _updatetime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime CreateDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string BookDesc
		{
			set{ _bookdesc=value;}
			get{return _bookdesc;}
		}
		/// <summary>
		/// Doc,xlsx等
		/// </summary>
		public string BookSuff
		{
			set{ _booksuff=value;}
			get{return _booksuff;}
		}
		/// <summary>
		/// Word、Excel、Txt等
		/// </summary>
		public string FileType
		{
			set{ _filetype=value;}
			get{return _filetype;}
		}
		/// <summary>
		/// S：不能用;O：可用
		/// </summary>
		public string Status
		{
			set{ _status=value;}
			get{return _status;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string BookAddr
		{
			set{ _bookaddr=value;}
			get{return _bookaddr;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int PagesCount
		{
			set{ _pagescount=value;}
			get{return _pagescount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool IsSplitPages
		{
			set{ _issplitpages=value;}
			get{return _issplitpages;}
		}
		#endregion Model

	}
}

